﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009B1 RID: 2481
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JLLIFGDBMIO : IMessage<JLLIFGDBMIO>, IMessage, IEquatable<JLLIFGDBMIO>, IDeepCloneable<JLLIFGDBMIO>, IBufferMessage
	{
		// Token: 0x17001F65 RID: 8037
		// (get) Token: 0x06006F42 RID: 28482 RVA: 0x0012A037 File Offset: 0x00128237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JLLIFGDBMIO> Parser
		{
			get
			{
				return JLLIFGDBMIO._parser;
			}
		}

		// Token: 0x17001F66 RID: 8038
		// (get) Token: 0x06006F43 RID: 28483 RVA: 0x0012A03E File Offset: 0x0012823E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JLLIFGDBMIOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F67 RID: 8039
		// (get) Token: 0x06006F44 RID: 28484 RVA: 0x0012A050 File Offset: 0x00128250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JLLIFGDBMIO.Descriptor;
			}
		}

		// Token: 0x06006F45 RID: 28485 RVA: 0x0012A057 File Offset: 0x00128257
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLLIFGDBMIO()
		{
		}

		// Token: 0x06006F46 RID: 28486 RVA: 0x0012A05F File Offset: 0x0012825F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLLIFGDBMIO(JLLIFGDBMIO other) : this()
		{
			this.gNFMIINPPDO_ = other.gNFMIINPPDO_;
			this.modifierSourceType_ = other.modifierSourceType_;
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006F47 RID: 28487 RVA: 0x0012A09C File Offset: 0x0012829C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLLIFGDBMIO Clone()
		{
			return new JLLIFGDBMIO(this);
		}

		// Token: 0x17001F68 RID: 8040
		// (get) Token: 0x06006F48 RID: 28488 RVA: 0x0012A0A4 File Offset: 0x001282A4
		// (set) Token: 0x06006F49 RID: 28489 RVA: 0x0012A0AC File Offset: 0x001282AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentType GNFMIINPPDO
		{
			get
			{
				return this.gNFMIINPPDO_;
			}
			set
			{
				this.gNFMIINPPDO_ = value;
			}
		}

		// Token: 0x17001F69 RID: 8041
		// (get) Token: 0x06006F4A RID: 28490 RVA: 0x0012A0B5 File Offset: 0x001282B5
		// (set) Token: 0x06006F4B RID: 28491 RVA: 0x0012A0BD File Offset: 0x001282BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LKOBDHKHNBE ModifierSourceType
		{
			get
			{
				return this.modifierSourceType_;
			}
			set
			{
				this.modifierSourceType_ = value;
			}
		}

		// Token: 0x17001F6A RID: 8042
		// (get) Token: 0x06006F4C RID: 28492 RVA: 0x0012A0C6 File Offset: 0x001282C6
		// (set) Token: 0x06006F4D RID: 28493 RVA: 0x0012A0CE File Offset: 0x001282CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x06006F4E RID: 28494 RVA: 0x0012A0D7 File Offset: 0x001282D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JLLIFGDBMIO);
		}

		// Token: 0x06006F4F RID: 28495 RVA: 0x0012A0E8 File Offset: 0x001282E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JLLIFGDBMIO other)
		{
			return other != null && (other == this || (this.GNFMIINPPDO == other.GNFMIINPPDO && this.ModifierSourceType == other.ModifierSourceType && this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006F50 RID: 28496 RVA: 0x0012A144 File Offset: 0x00128344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GNFMIINPPDO != DifficultyAdjustmentType.DifficultyAjustmentTypeDefault)
			{
				num ^= this.GNFMIINPPDO.GetHashCode();
			}
			if (this.ModifierSourceType != LKOBDHKHNBE.DifficultyAjustmentSourceNone)
			{
				num ^= this.ModifierSourceType.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006F51 RID: 28497 RVA: 0x0012A1C1 File Offset: 0x001283C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006F52 RID: 28498 RVA: 0x0012A1C9 File Offset: 0x001283C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006F53 RID: 28499 RVA: 0x0012A1D4 File Offset: 0x001283D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GNFMIINPPDO != DifficultyAdjustmentType.DifficultyAjustmentTypeDefault)
			{
				output.WriteRawTag(80);
				output.WriteEnum((int)this.GNFMIINPPDO);
			}
			if (this.ModifierSourceType != LKOBDHKHNBE.DifficultyAjustmentSourceNone)
			{
				output.WriteRawTag(88);
				output.WriteEnum((int)this.ModifierSourceType);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006F54 RID: 28500 RVA: 0x0012A24C File Offset: 0x0012844C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GNFMIINPPDO != DifficultyAdjustmentType.DifficultyAjustmentTypeDefault)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.GNFMIINPPDO);
			}
			if (this.ModifierSourceType != LKOBDHKHNBE.DifficultyAjustmentSourceNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ModifierSourceType);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006F55 RID: 28501 RVA: 0x0012A2BC File Offset: 0x001284BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JLLIFGDBMIO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GNFMIINPPDO != DifficultyAdjustmentType.DifficultyAjustmentTypeDefault)
			{
				this.GNFMIINPPDO = other.GNFMIINPPDO;
			}
			if (other.ModifierSourceType != LKOBDHKHNBE.DifficultyAjustmentSourceNone)
			{
				this.ModifierSourceType = other.ModifierSourceType;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006F56 RID: 28502 RVA: 0x0012A320 File Offset: 0x00128520
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006F57 RID: 28503 RVA: 0x0012A32C File Offset: 0x0012852C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 88U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Id = input.ReadUInt32();
						}
					}
					else
					{
						this.ModifierSourceType = (LKOBDHKHNBE)input.ReadEnum();
					}
				}
				else
				{
					this.GNFMIINPPDO = (DifficultyAdjustmentType)input.ReadEnum();
				}
			}
		}

		// Token: 0x04002A6E RID: 10862
		private static readonly MessageParser<JLLIFGDBMIO> _parser = new MessageParser<JLLIFGDBMIO>(() => new JLLIFGDBMIO());

		// Token: 0x04002A6F RID: 10863
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A70 RID: 10864
		public const int GNFMIINPPDOFieldNumber = 10;

		// Token: 0x04002A71 RID: 10865
		private DifficultyAdjustmentType gNFMIINPPDO_;

		// Token: 0x04002A72 RID: 10866
		public const int ModifierSourceTypeFieldNumber = 11;

		// Token: 0x04002A73 RID: 10867
		private LKOBDHKHNBE modifierSourceType_;

		// Token: 0x04002A74 RID: 10868
		public const int IdFieldNumber = 15;

		// Token: 0x04002A75 RID: 10869
		private uint id_;
	}
}
